#pragma once
#include "MiniHttpd.h"
#include "resource.h"
#ifdef _WIN32_WCE
#error "CDHtmlDialog is not supported for Windows CE."
#endif 

// CUIContainer dialog


class CUIContainer : public CDHtmlDialog
{
	DECLARE_DYNCREATE(CUIContainer)

public:
	CUIContainer(CWnd* pParent = NULL);   // standard constructor
	virtual ~CUIContainer();

	// Dialog Data
	enum { IDD = IDD_CHART_DLG, IDH = 0 };
protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

public:
	BOOL AdjustSize(int iW,int iH);
private:
	TCHAR m_szURL[255];
	int m_width;
	int m_height;
	
public:
	afx_msg void OnClose();

	void LoadPage();

};
